﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace _004_继承
{
    internal class BaseClass
    {
         public int data1;
         public string data2;

        public void Function1()
        {
            Console.WriteLine("One");
        }
        public void Function2()
        {
            Console.WriteLine("Two");
        }
    }
}
